/*
 * Main.java
 *
 * Created on April 5, 2011, 4:45 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package mgslangpack;

import java.awt.*;
import javax.swing.*;
public class Main
{
    public static void main(String args[])
    {
        try
        {
            final JFrame jf=new JFrame("Welcom");
            jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            jf.setSize(700,720);
            jf.setLayout(null);
            jf.setLocation(10,10);
            jf.setVisible(false);
            Container ctn=jf.getContentPane();
            ctn.setBackground(Color.LIGHT_GRAY);
            JLabel LogIm,MeIm;
            LogIm=new JLabel(new ImageIcon("GetImage1111.jpg"));
            LogIm.setBounds(200,70,400,300);
            ctn.add(LogIm);
            MeIm=new JLabel(new ImageIcon("Titanium-Wedding-Rings.jpg"));
            MeIm.setBounds(50,400,400,267);
            ctn.add(MeIm);
            Font f1 = new Font("Lucida Handwriting",Font.BOLD,25);
            Font f2 = new Font("Lucida Handwriting",Font.BOLD,20);
            Label l1 = new Label("The Bridal Boutique du quartier");
            l1.setBounds(130,30,430,30);
            l1.setFont(f1);
            jf.add(l1);
            Label l2 = new Label("Version - 1.1");
            l2.setBounds(550,630,120,20);
            l2.setFont(f2);
            jf.add(l2);
            Label l3 = new Label("Copyright 2011");
            l3.setBounds(470,500,150,20);
            l3.setFont(f2);
            jf.add(l3);
            Label l4 = new Label("Eddie DUNIA");
            l4.setBounds(470,520,250,20);
            l4.setFont(f2);
            jf.add(l4);
            jf.show();
            for(double x=1;x<=500000002;x++)
            {
                if(x>500000001)
                {
                    try
                    {
                        jf.hide();
                        new Menu();
                    }
                    catch(Exception e1){}
                }
            }
        }
        catch(Exception e1){System.out.println("ERROR 1 for the "+e1);}
    }   
}
/******************************************************************************/